package com.example.demo.common;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class Test03 {

    // 实例变量  线程私有
    private ExecutorService executorService = Executors.newSingleThreadExecutor();
    // 类变量 线程共有
    private static ExecutorService executorService1 = Executors.newSingleThreadExecutor();

    public static void main(String[] args) {

    }
}
